package com.example.medical.service;

import com.example.medical.entity.dto.*;
import com.example.medical.entity.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.medical.utils.common.result.Result;

/**
* @author 24354
* @description 针对表【admin】的数据库操作Service
* @createDate 2024-03-31 22:41:50
*/
public interface AdminService extends IService<Admin> {

    Result AdminLogin(LoginDto dto);

    Result UpdateAdminPassword(UpdatePasswordDto dto);

    Result GetAdminList(GetAdminListDto dto);

    Result RemoveAdmin(Long id);

    Result UpdateAdmin(UpdateAdminDto dto);

    Result AdminUpdateMeMessage(String name);

    Result SaveAdmin(SaveAdminDto dto);

    Result RemoveAdminArr(String[] ids);
}
